﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gnosis.Alexandria.Model
{
    public interface IBatch
    {
        void AddRecord(IIdentifiable record);
        void AddRecord(IIdentifiable record, Action<IIdentifiable, object> recordCallback);
        void InvokeRecordCallback(IIdentifiable record, object value);
        IEnumerable<IIdentifiable> Records { get; }
    }
}
